package cn.hxsteel.storage.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import cn.hxsteel.storage.core.base.BaseController;

/**
 * 默认的控制器
 */
@Controller
public class WebController extends BaseController
{
    @RequestMapping( value = "/index", method = RequestMethod.GET )
    public ModelAndView indexView()
    {
	ModelAndView view = new ModelAndView();
	view.setViewName( "forward:/view/jsp/index.jsp" );
	return view;
    }
}
